YBAI\Boot\YBAIHook A

Total Complexity 54
Dependencies 2
Dependents 1
Total lines 305
Lines of code 256
Logical lines of code 123
Comment lines 0
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
process_ybai_order()
A
41 8 54
calculate_item_discount()
S
56 5 18
prepare_customer_meta_data()
S
55 4 19
add_insert_post()
S
68 5 6
add_custom_order_input()
S
54 3 19
handle_thankyou_page()
S
64 4 9
prepare_customer_data()
S
64 4 9
woocommerce_order_status_changed()
S
70 4 5
prepare_order_data()
S
53 2 23
get_order_data()
S
56 2 19
save_custom_order_input()
S
67 3 8
handle_admin_created_order_from_woo()
S
64 3 9
handle_status()
S
60 2 13
synchronize_list_product()
S
58 1 15
__construct()
S
62 2 10
format_post_data()
S
59 1 14
_get_channel_domain_name()
S
68 1 6